package com.spring.cloud.microservice_feign80;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
/**
 * 声明开启feign
 */
@EnableFeignClients(basePackages = {"com.spring"})
@ComponentScan("com.spring")
public class MicroserviceFeign80Application {

    public static void main(String[] args) {
        SpringApplication.run(MicroserviceFeign80Application.class, args);
    }

}
